PrestoPlayer\Services\API\RestPresetsController S

Total Complexity 27
Dependencies 4
Dependents 0
Total lines 774
Lines of code 620
Logical lines of code 64
Comment lines 90
Methods 16
Properties 3

Methods 16

Method Rating Maintainability Complexity Lines of code
get_preset_schema()
B
25
1 290
prepare_item_for_database()
A
31 1 165
get_items()
S
54 4 21
register_routes()
S
45 1 51
create_item()
S
59 3 14
update_item()
S
59 3 13
delete_item()
S
61 3 11
prepare_item_for_response()
S
62 3 11
get_collection_params()
S
56 1 21
register()
S
79 1 3
get_item()
S
71 1 5
get_items_permissions_check()
S
80 1 3
get_item_permissions_check()
S
80 1 3
create_item_permissions_check()
S
80 1 3
update_item_permissions_check()
S
80 1 3
delete_item_permissions_check()
S
80 1 3